dsh-session-repair: Fix DSH session logs caused by unknown event types
dsh-session-repair is a plugin for DeepSeek Harness designed to address issues in `dsh 0.1.0-rc.x` where external plugins writing unknown events cause `SessionFormatUnsupportedError` upon service restart and prevent session logs from opening, due to the lack of a third-party event type registration mechanism. The tool primarily offers two core functions: scanning zstd-compressed session logs via `action=scan` to report unknown event types and their repairability (defaulting to read-only mode without modifications); and repairing non-live session logs using `action=repair` or `repair_id` to add missing `ignorable` flags for unknown events. To ensure reliability...
Read Moredsh-startup-guard: Repair session logs before DSH startup, pre-check plugin combinations, and isolate crash sources
dsh-startup-guard is a third-party startup guard plugin for DeepSeek Harness (DSH), maintained by aokamoaki and licensed under the MIT License. It aims to address startup delays caused by missing plugins, corrupted logs, or runtime errors, improving system stability through pre-startup checks and fallback mechanisms. Core features include repairing corrupted session.jsonl logs and backing up originals; generating a plugin manifest and source code snapshot to establish a rollback baseline; verifying and rolling back bundles that fail to parse; detecting combined configuration errors (such as ID duplication, YAML fatal errors) and supporting automatic disabling; verifying client artifacts within a VM sandbox; and executing host plugin apply() smoke tests in a subprocess environment to identify startup anomalies. The plugin uses...
Read More